package com.gitee.melin.bee.core.jdbc.relational;

import java.io.Serializable;
import lombok.Data;

@Data
public class SimpleMetaTable implements Serializable, Comparable<SimpleMetaTable> {

    private static final long serialVersionUID = 4209205512472367171L;

    private String tableName;

    private String comment;

    private BeeTableType tableType = BeeTableType.UNKNOW;

    @Override
    public int compareTo(SimpleMetaTable o) {
        return this.tableName.compareTo(o.getTableName());
    }
}
